/*
 * @title: 全局注册组件
 * @author: andy.ten@tom.com & xukaixing@hotmail.com
 * @Date: 2022-04-04 16:40:30
 * @LastEditors: andy.ten@tom.com
 * @LastEditTime: 2022-06-06 13:14:01
 * @version: 1.0.2
 * @copyright: copyright (c) 2022 andyten
 *  node: you can not copy and/or use and/or modify this program free,
 *  please reserve the segment above.Please mail me if you have any question.
 */
import Vue from 'vue';
// import Element from 'element-ui';
import Element from '../plugins/element';
Vue.use(Element, {
  size: 'medium', // 设置element-ui组件显示大小（mini、small、medium）
  // i18n: (key, value) => i18n.t(key, value)
  zIndex: 1000
});

import Hawthorn from 'hawthorn-ui/lib/hawthorn-ui.umd.min.js';
Vue.use(Hawthorn);

Vue.prototype.$notify = Hawthorn.Notify;

import HtExportDialog from '../components/HtExportDialog';
Vue.use(HtExportDialog);
import HtImportDialog from '../components/HtImportDialog';
Vue.use(HtImportDialog);

Vue.prototype.$crud = Hawthorn.Crud;

